package team.epos.merchant.service;

import team.epos.utils.pojo.Dishes;

import java.util.List;

/**
 * Create by DishesService on 7/13/2018
 *
 * @author CHENKI
 */
public interface DishesService {
    public List findAllDishes(Integer id);

    public int addDishes(Dishes dishes);

    public int deleteDishes(int id);

    public List loadDishes(String name, int id);

    public List loadDishesWithPage(String name, int id, int pageIndex, int pageCount);

    public int upodateDishe(Dishes dishes);

    public List findAllDishesWithPage(Integer id, int pageIndex, int pageCount);
}
